package com.lcf.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 评论(MovieComment)表实体类
 *
 * @author lcf
 * @since 2025-05-07 22:23:22
 */
@NoArgsConstructor
@Data
public class MovieCommentDTO {
    //电影id
    @Schema(description = "电影id")
    @NotNull(message = "电影id不能为空")
    private Long movieId;
    //评论内容
    @Schema(description = "评论内容")
    @NotBlank(message = "评论内容不能为空")
    private String content;
}

